import axios from "axios";
let key = "f0a452dc830ba646f115891423f41a97";
export function getAddressCenter(address) {
  return axios({
    method: "GET",
    url: "/map/geocode/geo",
    params: {
      key,
      address,
    },
  });
}

export function getorderWinehouse(location, keywords) {
  return axios({
    methods: "GET",
    url: "/map/place/around",
    params: {
      key,
      location,
      keywords,
      extensions: "all",
    },
  });
}
